package com.saile.service;

import com.saile.domain.Album;
import com.saile.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

/**
 * Created by Baggio on 2018-4-27.
 */
public interface AlbumService {


    void modifyAlbum(Album media) throws MyRunTimeExcption;
    void deleteAlbumById(Long albumId) throws MyRunTimeExcption;

    List<Album> getAlbumList(Map<String, String> map) throws MyRunTimeExcption;

    Album getAlbum(Map<String, String> map) throws MyRunTimeExcption;
}
